package org.springmole.business.bean;

/**
 * 
 *
 */
public class QueryRequest {
	
	private String url = null;
	
	private String userName = null;
	
	private String password = null;
	
	
	private String query;
	
	private String sortField;
	
	private String sortOrder;
	
	private Integer rowIndex;
	
	private Integer pageSize;

	
	public QueryRequest() {
	}
	
	public QueryRequest(String url, String userName, String password, String query, String sortField, String sortOrder, Integer rowIndex, Integer pageSize) {
		this.query = query;
		this.sortField = sortField;
		this.sortOrder = sortOrder;
		this.rowIndex = rowIndex;
		this.pageSize = pageSize;
	}
	
	
	public String getQuery() {
		return query;
	}
	public void setQuery(String query) {
		this.query = query;
	}

	
	public String getSortField() {
		return sortField;
	}
	public void setSortField(String sortField) {
		this.sortField = sortField;
	}

	
	public String getSortOrder() {
		return sortOrder;
	}
	public void setSortOrder(String sortOrder) {
		this.sortOrder = sortOrder;
	}

	
	public Integer getRowIndex() {
		return rowIndex;
	}
	public void setRowIndex(Integer rowIndex) {
		this.rowIndex = rowIndex;
	}

	
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	

	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}

	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	

	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
}
